3.5.35 \(\int \frac {c+d x+e x^2}{x^2 \sqrt {a+b x^3}} \, dx\) [435]

Optimal. Leaf size=547 \[ -\frac {c \sqrt {a+b x^3}}{a x}+\frac {\sqrt [3]{b} c \sqrt {a+b x^3}}{a \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{2 a^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt {2+\sqrt {3}} \left (\left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} a^{2/3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \]

[Out]

-2/3*d*arctanh((b*x^3+a)^(1/2)/a^(1/2))/a^(1/2)-c*(b*x^3+a)^(1/2)/a/x+b^(1/3)*c*(b*x^3+a)^(1/2)/a/(b^(1/3)*x+a
^(1/3)*(1+3^(1/2)))-1/2*3^(1/4)*b^(1/3)*c*(a^(1/3)+b^(1/3)*x)*EllipticE((b^(1/3)*x+a^(1/3)*(1-3^(1/2)))/(b^(1/
3)*x+a^(1/3)*(1+3^(1/2))),I*3^(1/2)+2*I)*(1/2*6^(1/2)-1/2*2^(1/2))*((a^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/(b
^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)/a^(2/3)/(b*x^3+a)^(1/2)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)
*(1+3^(1/2)))^2)^(1/2)-1/3*(a^(1/3)+b^(1/3)*x)*EllipticF((b^(1/3)*x+a^(1/3)*(1-3^(1/2)))/(b^(1/3)*x+a^(1/3)*(1
+3^(1/2))),I*3^(1/2)+2*I)*(-2*a^(2/3)*e+b^(2/3)*c*(1-3^(1/2)))*(1/2*6^(1/2)+1/2*2^(1/2))*((a^(2/3)-a^(1/3)*b^(
1/3)*x+b^(2/3)*x^2)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)*3^(3/4)/a^(2/3)/b^(1/3)/(b*x^3+a)^(1/2)/(a^(1/3)*
(a^(1/3)+b^(1/3)*x)/(b^(1/3)*x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.23, antiderivative size = 547, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {1849, 1846, 272, 65, 214, 1892, 224, 1891} \begin {gather*} -\frac {\sqrt {2+\sqrt {3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (\left (1-\sqrt {3}\right ) b^{2/3} c-2 a^{2/3} e\right ) F\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} a^{2/3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\text {ArcSin}\left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{2 a^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {c \sqrt {a+b x^3}}{a x}+\frac {\sqrt [3]{b} c \sqrt {a+b x^3}}{a \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c + d*x + e*x^2)/(x^2*Sqrt[a + b*x^3]),x]

[Out]

-((c*Sqrt[a + b*x^3])/(a*x)) + (b^(1/3)*c*Sqrt[a + b*x^3])/(a*((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) - (2*d*ArcT
anh[Sqrt[a + b*x^3]/Sqrt[a]])/(3*Sqrt[a]) - (3^(1/4)*Sqrt[2 - Sqrt[3]]*b^(1/3)*c*(a^(1/3) + b^(1/3)*x)*Sqrt[(a
^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[ArcSin[((1 - Sqrt[3
])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(2*a^(2/3)*Sqrt[(a^(1/3)*(a^(1/
3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) - (Sqrt[2 + Sqrt[3]]*((1 - Sqrt[3])*b
^(2/3)*c - 2*a^(2/3)*e)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*
a^(1/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*
x)], -7 - 4*Sqrt[3]])/(3^(1/4)*a^(2/3)*b^(1/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b
^(1/3)*x)^2]*Sqrt[a + b*x^3])

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 224

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt
[2 + Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sq
rt[s*((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)
], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 1846

Int[(Pq_)/((x_)*Sqrt[(a_) + (b_.)*(x_)^(n_)]), x_Symbol] :> Dist[Coeff[Pq, x, 0], Int[1/(x*Sqrt[a + b*x^n]), x
], x] + Int[ExpandToSum[(Pq - Coeff[Pq, x, 0])/x, x]/Sqrt[a + b*x^n], x] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] &
& IGtQ[n, 0] && NeQ[Coeff[Pq, x, 0], 0]

Rule 1849

Int[(Pq_)*((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{Pq0 = Coeff[Pq, x, 0]}, Simp[Pq0
*(c*x)^(m + 1)*((a + b*x^n)^(p + 1)/(a*c*(m + 1))), x] + Dist[1/(2*a*c*(m + 1)), Int[(c*x)^(m + 1)*ExpandToSum
[2*a*(m + 1)*((Pq - Pq0)/x) - 2*b*Pq0*(m + n*(p + 1) + 1)*x^(n - 1), x]*(a + b*x^n)^p, x], x] /; NeQ[Pq0, 0]]
/; FreeQ[{a, b, c, p}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[m, -1] && LeQ[n - 1, Expon[Pq, x]]

Rule 1891

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[(1 - Sqrt[3])*(d/c)]]
, s = Denom[Simplify[(1 - Sqrt[3])*(d/c)]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 + Sqrt[3])*s + r*x))), x
] - Simp[3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(r^2
*Sqrt[a + b*x^3]*Sqrt[s*((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1
+ Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && EqQ[b*c^3 - 2*(5 - 3*Sqrt[3
])*a*d^3, 0]

Rule 1892

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a,
 3]]}, Dist[(c*r - (1 - Sqrt[3])*d*s)/r, Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/r, Int[((1 - Sqrt[3])*s + r*x)
/Sqrt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rubi steps

\begin {align*} \int \frac {c+d x+e x^2}{x^2 \sqrt {a+b x^3}} \, dx &=-\frac {c \sqrt {a+b x^3}}{a x}-\frac {\int \frac {-2 a d-2 a e x-b c x^2}{x \sqrt {a+b x^3}} \, dx}{2 a}\\ &=-\frac {c \sqrt {a+b x^3}}{a x}-\frac {\int \frac {-2 a e-b c x}{\sqrt {a+b x^3}} \, dx}{2 a}+d \int \frac {1}{x \sqrt {a+b x^3}} \, dx\\ &=-\frac {c \sqrt {a+b x^3}}{a x}+\frac {\left (b^{2/3} c\right ) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{2 a}+\frac {1}{3} d \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^3\right )-\frac {1}{2} \left (\frac {\left (1-\sqrt {3}\right ) b^{2/3} c}{a^{2/3}}-2 e\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx\\ &=-\frac {c \sqrt {a+b x^3}}{a x}+\frac {\sqrt [3]{b} c \sqrt {a+b x^3}}{a \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{2 a^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt {2+\sqrt {3}} \left (\frac {\left (1-\sqrt {3}\right ) b^{2/3} c}{a^{2/3}}-2 e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {(2 d) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^3}\right )}{3 b}\\ &=-\frac {c \sqrt {a+b x^3}}{a x}+\frac {\sqrt [3]{b} c \sqrt {a+b x^3}}{a \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{b} c \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{2 a^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {\sqrt {2+\sqrt {3}} \left (\frac {\left (1-\sqrt {3}\right ) b^{2/3} c}{a^{2/3}}-2 e\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{\sqrt [4]{3} \sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 10.64, size = 513, normalized size = 0.94 \begin {gather*} -\frac {c \sqrt {a+b x^3}}{a x}-\frac {2 d \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )}{3 \sqrt {a}}-\frac {2 e \left (\sqrt [3]{-1} \sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {\sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {\frac {\sqrt [3]{-1} \sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} F\left (\sin ^{-1}\left (\sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}}\right )|\sqrt [3]{-1}\right )}{\sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {a+b x^3}}-\frac {\sqrt {2} \sqrt [3]{b} c \left (\sqrt [3]{-1} \sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {\frac {\sqrt [3]{-1} \sqrt [3]{a}-(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {\frac {i \left (1+\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{3 i+\sqrt {3}}} \left (\left (-1+(-1)^{2/3}\right ) E\left (\sin ^{-1}\left (\frac {\sqrt {\sqrt [6]{-1}-\frac {i \sqrt [3]{b} x}{\sqrt [3]{a}}}}{\sqrt [4]{3}}\right )|\frac {\sqrt [3]{-1}}{-1+\sqrt [3]{-1}}\right )+F\left (\sin ^{-1}\left (\frac {\sqrt {\sqrt [6]{-1}-\frac {i \sqrt [3]{b} x}{\sqrt [3]{a}}}}{\sqrt [4]{3}}\right )|\frac {\sqrt [3]{-1}}{-1+\sqrt [3]{-1}}\right )\right )}{a^{2/3} \sqrt {\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt {a+b x^3}} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[(c + d*x + e*x^2)/(x^2*Sqrt[a + b*x^3]),x]

[Out]

-((c*Sqrt[a + b*x^3])/(a*x)) - (2*d*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/(3*Sqrt[a]) - (2*e*((-1)^(1/3)*a^(1/3) -
 b^(1/3)*x)*Sqrt[(a^(1/3) + b^(1/3)*x)/((1 + (-1)^(1/3))*a^(1/3))]*Sqrt[((-1)^(1/3)*a^(1/3) - (-1)^(2/3)*b^(1/
3)*x)/((1 + (-1)^(1/3))*a^(1/3))]*EllipticF[ArcSin[Sqrt[(a^(1/3) + (-1)^(2/3)*b^(1/3)*x)/((1 + (-1)^(1/3))*a^(
1/3))]], (-1)^(1/3)])/(b^(1/3)*Sqrt[(a^(1/3) + (-1)^(2/3)*b^(1/3)*x)/((1 + (-1)^(1/3))*a^(1/3))]*Sqrt[a + b*x^
3]) - (Sqrt[2]*b^(1/3)*c*((-1)^(1/3)*a^(1/3) - b^(1/3)*x)*Sqrt[((-1)^(1/3)*a^(1/3) - (-1)^(2/3)*b^(1/3)*x)/((1
 + (-1)^(1/3))*a^(1/3))]*Sqrt[(I*(1 + (b^(1/3)*x)/a^(1/3)))/(3*I + Sqrt[3])]*((-1 + (-1)^(2/3))*EllipticE[ArcS
in[Sqrt[(-1)^(1/6) - (I*b^(1/3)*x)/a^(1/3)]/3^(1/4)], (-1)^(1/3)/(-1 + (-1)^(1/3))] + EllipticF[ArcSin[Sqrt[(-
1)^(1/6) - (I*b^(1/3)*x)/a^(1/3)]/3^(1/4)], (-1)^(1/3)/(-1 + (-1)^(1/3))]))/(a^(2/3)*Sqrt[(a^(1/3) + (-1)^(2/3
)*b^(1/3)*x)/((1 + (-1)^(1/3))*a^(1/3))]*Sqrt[a + b*x^3])

________________________________________________________________________________________

Maple [A]
time = 0.39, size = 759, normalized size = 1.39 Too large to display

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x^2+d*x+c)/x^2/(b*x^3+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/3*I*e*3^(1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2
)^(1/3))^(1/2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/
2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1
/3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/
2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))-2/3*d*arctanh((b*x^3+a)^(1/
2)/a^(1/2))/a^(1/2)+c*(-(b*x^3+a)^(1/2)/a/x-1/3*I/a*3^(1/2)*(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^
(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3
^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)
^(1/3))^(1/2)/(b*x^3+a)^(1/2)*((-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*EllipticE(1/3*3^(1/2)*(I
*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)
^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))+1/b*(-a*b^2)^(1/3)*EllipticF(1/3*3^(1/2)
*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b
^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/x^2/(b*x^3+a)^(1/2),x, algorithm="maxima")

[Out]

integrate((x^2*e + d*x + c)/(sqrt(b*x^3 + a)*x^2), x)

________________________________________________________________________________________

Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.12, size = 235, normalized size = 0.43 \begin {gather*} \left [\frac {\sqrt {a} b d x \log \left (\frac {b^{2} x^{6} + 8 \, a b x^{3} - 4 \, {\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {a} + 8 \, a^{2}}{x^{6}}\right ) + 12 \, a \sqrt {b} e x {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 6 \, b^{\frac {3}{2}} c x {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - 6 \, \sqrt {b x^{3} + a} b c}{6 \, a b x}, \frac {\sqrt {-a} b d x \arctan \left (\frac {{\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {-a}}{2 \, {\left (a b x^{3} + a^{2}\right )}}\right ) + 6 \, a \sqrt {b} e x {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) - 3 \, b^{\frac {3}{2}} c x {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - 3 \, \sqrt {b x^{3} + a} b c}{3 \, a b x}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/x^2/(b*x^3+a)^(1/2),x, algorithm="fricas")

[Out]

[1/6*(sqrt(a)*b*d*x*log((b^2*x^6 + 8*a*b*x^3 - 4*(b*x^3 + 2*a)*sqrt(b*x^3 + a)*sqrt(a) + 8*a^2)/x^6) + 12*a*sq
rt(b)*e*x*weierstrassPInverse(0, -4*a/b, x) - 6*b^(3/2)*c*x*weierstrassZeta(0, -4*a/b, weierstrassPInverse(0,
-4*a/b, x)) - 6*sqrt(b*x^3 + a)*b*c)/(a*b*x), 1/3*(sqrt(-a)*b*d*x*arctan(1/2*(b*x^3 + 2*a)*sqrt(b*x^3 + a)*sqr
t(-a)/(a*b*x^3 + a^2)) + 6*a*sqrt(b)*e*x*weierstrassPInverse(0, -4*a/b, x) - 3*b^(3/2)*c*x*weierstrassZeta(0,
-4*a/b, weierstrassPInverse(0, -4*a/b, x)) - 3*sqrt(b*x^3 + a)*b*c)/(a*b*x)]

________________________________________________________________________________________

Sympy [A]
time = 1.62, size = 107, normalized size = 0.20 \begin {gather*} \frac {c \Gamma \left (- \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{3}, \frac {1}{2} \\ \frac {2}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} x \Gamma \left (\frac {2}{3}\right )} - \frac {2 d \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{\frac {3}{2}}} \right )}}{3 \sqrt {a}} + \frac {e x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {1}{2} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt {a} \Gamma \left (\frac {4}{3}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**2+d*x+c)/x**2/(b*x**3+a)**(1/2),x)

[Out]

c*gamma(-1/3)*hyper((-1/3, 1/2), (2/3,), b*x**3*exp_polar(I*pi)/a)/(3*sqrt(a)*x*gamma(2/3)) - 2*d*asinh(sqrt(a
)/(sqrt(b)*x**(3/2)))/(3*sqrt(a)) + e*x*gamma(1/3)*hyper((1/3, 1/2), (4/3,), b*x**3*exp_polar(I*pi)/a)/(3*sqrt
(a)*gamma(4/3))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/x^2/(b*x^3+a)^(1/2),x, algorithm="giac")

[Out]

integrate((x^2*e + d*x + c)/(sqrt(b*x^3 + a)*x^2), x)

________________________________________________________________________________________

Mupad [B]
time = 5.96, size = 121, normalized size = 0.22 \begin {gather*} \frac {d\,\ln \left (\frac {{\left (\sqrt {b\,x^3+a}-\sqrt {a}\right )}^3\,\left (\sqrt {b\,x^3+a}+\sqrt {a}\right )}{x^6}\right )}{3\,\sqrt {a}}-\frac {2\,c\,\sqrt {\frac {a}{b\,x^3}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},\frac {5}{6};\ \frac {11}{6};\ -\frac {a}{b\,x^3}\right )}{5\,x\,\sqrt {b\,x^3+a}}+\frac {e\,x\,\sqrt {\frac {b\,x^3}{a}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{3},\frac {1}{2};\ \frac {4}{3};\ -\frac {b\,x^3}{a}\right )}{\sqrt {b\,x^3+a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x + e*x^2)/(x^2*(a + b*x^3)^(1/2)),x)

[Out]

(d*log((((a + b*x^3)^(1/2) - a^(1/2))^3*((a + b*x^3)^(1/2) + a^(1/2)))/x^6))/(3*a^(1/2)) - (2*c*(a/(b*x^3) + 1
)^(1/2)*hypergeom([1/2, 5/6], 11/6, -a/(b*x^3)))/(5*x*(a + b*x^3)^(1/2)) + (e*x*((b*x^3)/a + 1)^(1/2)*hypergeo
m([1/3, 1/2], 4/3, -(b*x^3)/a))/(a + b*x^3)^(1/2)

________________________________________________________________________________________